package gravitationally_adjustable_physical_ball;

import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

public class ColorAdjuster_deprecated extends JPanel implements MouseListener {
    /**弃用状态
     *
     */
    private JButton red=new JButton("");
    private JButton yellow=new JButton("");
    private JButton blue=new JButton("");
    private JButton green=new JButton("");
    private JButton lightGreen=new JButton("");
    private JButton cyan=new JButton("");
    private JButton magenta=new JButton("");
    private JButton orange=new JButton("");

    public ColorAdjuster_deprecated(){
        this.setLayout(new GridLayout(1,8));
        this.add(red);this.add(yellow);this.add(blue);this.add(green);this.add(lightGreen);this.add(cyan);this.add(magenta);this.add(orange);
        red.addMouseListener(this);yellow.addMouseListener(this);blue.addMouseListener(this);green.addMouseListener(this);
        lightGreen.addMouseListener(this);cyan.addMouseListener(this);magenta.addMouseListener(this);orange.addMouseListener(this);
    }

    @Override
    public void mouseClicked(MouseEvent e) {

    }

    @Override
    public void mousePressed(MouseEvent e) {}

    @Override
    public void mouseReleased(MouseEvent e) {}

    @Override
    public void mouseEntered(MouseEvent e) {}

    @Override
    public void mouseExited(MouseEvent e) {}
}
